#ifndef FILEDIALOG_H
#define FILEDIALOG_H

#include <string>
#include <boost/filesystem.hpp>
#include <CEGUI.h>

class FileDialog
{
public:
    FileDialog();
    ~FileDialog();
    std::string getCurrentPath();
    std::string getFullPathName(std::string filename);
    void setFileFilter(std::string regex);
    void setListWindowName(std::string n);
    void setSelectionColour(float r, float g, float b);
    void setDirectoryColour(float r, float g, float b);
    void setFileColour(float r, float g, float b);
    int openPath(std::string pathName);
private:
    CEGUI::colour fileColour,directoryColour,selectionColour;
    std::string listWindowName,fileFilter;
    boost::filesystem::path overseerPath;
};

bool sortPaths(boost::filesystem::path a, boost::filesystem::path b);

#endif
